//
//  sendPhotoTableViewCell.m
//  marrymarry
//
//  Created by lsj on 16/9/26.
//  Copyright © 2016年 cf. All rights reserved.
//

#import "sendPhotoTableViewCell.h"

@implementation sendPhotoTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)reloadTheViewWith:(NSMutableArray *)dataArry andNSindexPath:(NSIndexPath *)indexPath andisHouse:(BOOL)ishouse
{
    if (ishouse) {
        self.leftDemoImgView.image = [UIImage imageNamed:@"house_renzhen.jpg"];
        self.tishiLabel.hidden = NO;
    }else
    {
        if (indexPath. row == 0) {
            self.leftDemoImgView.image = [UIImage imageNamed:@"car_renzhen.jpg"];
            self.tishiLabel.hidden = NO;
            self.tishiLabel.text = @"车辆行驶证（姓名必须和认证身份信息姓名一致）";
        }else if (indexPath.row == 1)
        {
            self.leftDemoImgView.image = [UIImage imageNamed:@"car_renzhen.jpg"];
            self.tishiLabel.hidden = NO;
            self.tishiLabel.text = @"购车合同";
        }
    }
    
}
@end
